import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app';
import user from './modules/user';

Vue.use(Vuex);
const store = new Vuex.Store({
  state: {
    //
  },
  mutations: {
    //
  },
  actions: {},
  modules: {
    app,
    user
  },
  strict: process.env.NODE_ENV !== 'production' // 线上环境关闭store检查
});

export default store;
